package com.py.outbound.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.ToString;
import org.springframework.data.annotation.Transient;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 销售出库表 od_in_rejected
 * 
 * @author ruoyi
 */
@ToString
public class OdSale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Integer saleId;

    /** 销售单号 */
    @Excel(name = "销售单号")
    private String saleCode;

    /** 单据状态 */
    @Excel(name = "单据状态")
    private String saleState;

    /** 销售日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saleTime;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customer;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 销售部门 */
    @Excel(name = "销售部门")
    private Integer saleDept;

    /** 销售负责人 */
    @Excel(name = "销售负责人")
    private String salePerson;

    /** 备注 */
    @Excel(name = "备注")
    private String saleRemark;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Integer saleNum;

    /** 销售金额 */
    @Excel(name = "销售金额")
    private BigDecimal saleMoney;

    /** 所在部门 */
    @Excel(name = "所在部门")
    private String createDept;

    /** 审核人 */
    @Excel(name = "审核人")
    private String reviewer;

    /** 审核理由 */
    private String reviewerReport;

    private String deptName;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewerTime;

    /** 逻辑删除 */
    private String isDel;

    /** $table.subTable.functionName信息 */
    private List<OdSaleDetails> odSaleDetailsList;

    public Integer getSaleId() {
        return saleId;
    }

    public void setSaleId(Integer saleId) {
        this.saleId = saleId;
    }

    public String getSaleCode() {
        return saleCode;
    }

    public void setSaleCode(String saleCode) {
        this.saleCode = saleCode;
    }

    public String getSaleState() {
        return saleState;
    }

    public void setSaleState(String saleState) {
        this.saleState = saleState;
    }

    public Date getSaleTime() {
        return saleTime;
    }

    public void setSaleTime(Date saleTime) {
        this.saleTime = saleTime;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getSaleDept() {
        return saleDept;
    }

    public void setSaleDept(Integer saleDept) {
        this.saleDept = saleDept;
    }

    public String getSalePerson() {
        return salePerson;
    }

    public void setSalePerson(String salePerson) {
        this.salePerson = salePerson;
    }

    public String getSaleRemark() {
        return saleRemark;
    }

    public void setSaleRemark(String saleRemark) {
        this.saleRemark = saleRemark;
    }

    public Integer getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Integer saleNum) {
        this.saleNum = saleNum;
    }

    public BigDecimal getSaleMoney() {
        return saleMoney;
    }

    public void setSaleMoney(BigDecimal saleMoney) {
        this.saleMoney = saleMoney;
    }

    public String getCreateDept() {
        return createDept;
    }

    public void setCreateDept(String createDept) {
        this.createDept = createDept;
    }

    public String getReviewer() {
        return reviewer;
    }

    public void setReviewer(String reviewer) {
        this.reviewer = reviewer;
    }

    public String getReviewerReport() {
        return reviewerReport;
    }

    public void setReviewerReport(String reviewerReport) {
        this.reviewerReport = reviewerReport;
    }

    public Date getReviewerTime() {
        return reviewerTime;
    }

    public void setReviewerTime(Date reviewerTime) {
        this.reviewerTime = reviewerTime;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    public List<OdSaleDetails> getOdSaleDetailsList() {
        return odSaleDetailsList;
    }

    public void setOdSaleDetailsList(List<OdSaleDetails> odSaleDetailsList) {
        this.odSaleDetailsList = odSaleDetailsList;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }


}
